﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Chat_WebServer
{
    public class UserMessLog
    {
        public UserMessLog(string user)
        {
            Username = user;
            Mess = new List<string>();
            IsNew = false;
        }

        public UserMessLog(UserMessLog clone)
        {
            Username = clone.Username;
            Mess = new List<string>(clone.Mess);
        }
        private string username;

        public string Username
        {
            get { return username; }
            set { username = value; }
        }

        private List<string> mess;

        public List<string> Mess
        {
            get { return mess; }
            set { mess = value; }
        }

        private bool isNew;

        public bool IsNew
        {
            get { return isNew; }
            set { isNew = value; }
        }
    }
}